summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-04-29 05:11:02 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-29 05:11:02 +0200
commitbaa1611755057587cff8f7386341f3ec009b6348 (patch)
treed7adc71c9b73fc696dabf3cc2731b9159578affa
parentMerge "Fix clang-analyzer-core.uninitialized.Branch warnings" am: 4466170559 am: 21ff0aa9a8 am: 39004966a3 am: e9c10b5fab am: 2e234889e2 am: 25280613d6 (diff)
parentMerge "Allos IsUsbConnected() to be overridden" am: 54e28fed8a am: bc3a63e4a4 am: adb1ed5a95 am: 5589ec0b3b am: bbba1b700a (diff)
downloadandroid_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.tar
android_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.tar.gz
android_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.tar.bz2
android_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.tar.lz
android_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.tar.xz
android_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.tar.zst
android_bootable_recovery-baa1611755057587cff8f7386341f3ec009b6348.zip
-rw-r--r--recovery_ui/include/recovery_ui/ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_ui/include/recovery_ui/ui.h b/recovery_ui/include/recovery_ui/ui.h
index 08ec1d76a..512732f90 100644
--- a/recovery_ui/include/recovery_ui/ui.h
+++ b/recovery_ui/include/recovery_ui/ui.h
@@ -192,6 +192,8 @@ class RecoveryUI {
return key_interrupted_;
}
+ virtual bool IsUsbConnected();
+
protected:
void EnqueueKey(int key_code);
@@ -226,8 +228,6 @@ class RecoveryUI {
void ProcessKey(int key_code, int updown);
void TimeKey(int key_code, int count);
- bool IsUsbConnected();
-
bool InitScreensaver();
void SetScreensaverState(ScreensaverState state);